const express = require("express");
const app = express();
const getDataRouter = require("./getData/index.js");
const PORT = 7204;
const cors = require("cors");
app.use(cors());
app.use(express.json());

app.use("/api", getDataRouter);
app.listen(PORT, () => {
  console.log(`Server is running on http://localhost:${PORT}`);
});
